package com.seis_645.appTesting;

public class Dealer {

	private long id, addr_id;
	private String name;
	private int cleanliness;
	private int supply;
	private int friendliness;
	private Address addr;
	
	public void set_id(long id) {
		this.id = id;
	}
	
	public void set_addr_id(long id) {
		this.addr_id = id;
	}
	
	public void set_name(String name) {
		this.name = name;
	}
	
	public void set_cleanliness(int cleanliness){
		this.cleanliness = cleanliness;
	}
	
	public void set_supply(int supply){
		this.supply = supply;
	}
	
	public void set_friendliness(int friendliness){
		this.friendliness = friendliness;
	}
	
	public long get_id() {
		return this.id;
	}
	
	public long get_addr_id() {
		return this.addr_id;
	}
	
	public String get_name() {
		return this.name;
	}
	
	public int get_cleanliness(){
		return this.cleanliness;
	}
	
	public int get_friendliness(){
		return this.friendliness;
	}
	
	public int get_supply(){
		return this.supply;
	}
		
	public Dealer(long addr_id, String name, int cleanliness, int friendliness, int supply) {
		this.addr_id = addr_id;
		this.name = name;
		this.cleanliness = cleanliness;
		this.friendliness = friendliness;
		this.supply = supply;
	}
	
	@Override
	public String toString() {
		return name;
	}
}
